const { DataTypes } = require("sequelize");
const sequelize = require("../db/seq");

const Limit = sequelize.define("limit", {
  id: {
    type: DataTypes.INTEGER,
    autoIncrement: true,
    primaryKey: true,
  },
  parentId: {
    type: DataTypes.INTEGER,
  },
  name: {
    type: DataTypes.STRING,
  },
  sign: {
    type: DataTypes.STRING,
  },
  description: {
    type: DataTypes.STRING,
  },
},{
    tableName:"bl-limit",
    timestamps:false
});

module.exports = Limit;
